package com.tbit.uqbike.webmanager.util;

import com.tbit.uqbike.object.value.Page;

/**
 * @author jing
 * @date 2020/11/914:22
 * @Description:
 */
public class PageHelperUtil {
    public static void initPage(Page page) {
        if (null != page && null == page.getPageNO()) {
            page.setPageNO(1);
        }
        if (null != page && null == page.getRowCount()) {
            page.setRowCount(10);
        }
    }
}
